package DesignPatern.A19_访问者模式.QSB.A03_高级模式;

/**
 * @Author: Du
 * @Date: 2021/8/6 8:51
 */
public class A01_Main
{
    public static void main(String[] args)
    {
        CommonEmployee zs = new CommonEmployee();
        zs.setName("张三");
        zs.setJob("Java开发");
        zs.setSalary(1800);
        zs.setSex(Employee.MALE);
        
        zs.accept(new Visitor());
    }
    
   
}
